#ifndef _LOS_H_
#define _LOS_H_

struct _los {
  gboolean onsight[MAP_W][MAP_H];
  struct _task *task;
};

struct _los Los;

void los_trans_state(state (*fp)(struct _task *task), struct _los *los);
gboolean is_los_onsight(struct _coord coord);
void los_init();
void los_free();
struct _los *los_add();
state los_update(struct _task *task);
#endif
